package cn.wolfcode.trip.base.mapper;

import cn.wolfcode.trip.base.domain.Hotel;

import cn.wolfcode.trip.base.query.QueryObject;

import java.util.List;

public interface HotelMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Hotel record);

    Hotel selectByPrimaryKey(Long id);

    List<Hotel> selectAll();

    int updateByPrimaryKey(Hotel record);

    List<Hotel> queryForList(QueryObject qo);

    List<Hotel> queryForHotel(QueryObject qo);

    List<Hotel> selectCommend();

    List<Hotel> selectHotels(QueryObject qo);

    List<Hotel> query(QueryObject qo);

}